/**
 * 接口管理
 * 商品中心>商品管理>商品回收站
 */
import request from '@/utils/request';

// 获取商户列表
export const getSupplierList = (params = {}) => {
  return request('/Amaidan-Merchants-Web/merchants/busMerchantsInfo/all', {
    method: 'POST',
    data: params
  })
}
// 获取商品列表
export const getProductList = (params = {}) => {
  return request('/Amaidan-Goods-Web/resGoods/change/selectGoodsStatus', {
    method: 'POST',
    data: params
  })
}
// 获取门店列表
export const getStoreList = (params = {}) => {
  return request('/Amaidan-Merchants-Web/merchants/busStoreInfo/getStorePageByMerchantsId', {
    method: 'POST',
    data: params
  })
}
// 还原到出售中
export const batchPutaway = (params = {}) => {
  return request('/Amaidan-Goods-Web/resGoods/change/batchPutaway', {
    method: 'POST',
    data: params
  })
}
// 还原到仓库中
export const batchSoldout = (params = {}) => {
  return request('/Amaidan-Goods-Web/resGoods/change/batchSoldout', {
    method: 'POST',
    data: params
  })
}
// 彻底删除
export const shiftDelete = (params = {}) => {
  return request('/Amaidan-Goods-Web/resGoods/change/remove', {
    method: 'POST',
    data: params
  })
}
